﻿using System;
using MetroCalendar.ViewModels;
using Microsoft.Phone.Controls;

namespace MetroCalendar
{
    public partial class AlarmPage : PhoneApplicationPage
    {
        AlarmViewModel alarmViewModel;

        public AlarmPage()
        {
            InitializeComponent();

            alarmViewModel = new AlarmViewModel();
            this.DataContext = alarmViewModel;
        }

        private void OnOkClick(object sender, EventArgs e)
        {
            this.NavigationService.GoBack();
        }

        private void OnCancelClick(object sender, EventArgs e)
        {
            this.NavigationService.GoBack();
        }
    }
}
